﻿using UnityEngine;
using Unity.Entities;

public class ArrowTagAuthoring : MonoBehaviour
{
    public class Baker : Baker<ArrowTagAuthoring>
    {
        public override void Bake(ArrowTagAuthoring authoring)
        {
            var entity = GetEntity(TransformUsageFlags.Dynamic);
        }
    }
}

/// <summary>
/// 箭矢标签
/// </summary>
public partial struct ArrowTag : IComponentData
{

}

public partial struct ArrowData : IComponentData
{
    public float lifeTime;
}